﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Xml;

namespace DrawingScreen.Objects
{
    public abstract class CDrawingObject
    {
        public static int CIRCLE_ID = 0;
        public static int CLIPART_ID = 1;
        public static int ELLIPSE_ID = 2;
        public static int LINE_ID = 3;
        public static int RECTANGLE_ID = 4;

        private bool _bVisible = true;

        public bool Visible
        {
            get { return _bVisible; }
            set { _bVisible = value; }
        }

        public abstract void Draw(Graphics g);

        public abstract XmlNode convertToXmlNode(XmlDocument doc);

    }
}
